package com.hwpt.hwaccount.core.data.local.entity;

/**
 * 图片元数据类
 */
public class ImageMetaData {
    private final String fileName;
    private final long fileSize;
    private final String fileMd5;
    private final String mimeType;
    
    public ImageMetaData(String fileName, long fileSize, String fileMd5, String mimeType) {
        this.fileName = fileName;
        this.fileSize = fileSize;
        this.fileMd5 = fileMd5;
        this.mimeType = mimeType;
    }
    
    public String getFileName() {
        return fileName;
    }
    
    public long getFileSize() {
        return fileSize;
    }
    
    public String getFileMd5() {
        return fileMd5;
    }
    
    public String getMimeType() {
        return mimeType;
    }
    
    @Override
    public String toString() {
        return "ImageMetaData{" +
                "fileName='" + fileName + '\'' +
                ", fileSize=" + fileSize +
                ", fileMd5='" + fileMd5 + '\'' +
                ", mimeType='" + mimeType + '\'' +
                '}';
    }
}